﻿using Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;

namespace Application.LogApp
{
    public interface ILogAppService
    {

        Log GetById(Int32 id);

        List<Log> GetAll(string key);
        List<Log> GetAll(string SearchKeyWords, int userid);

        List<Log> GetPageList(int userid, string SearchKeyWords, int PageSize, int PageCurrent, string OrderField, bool OrderDirection = true);
        bool AddOrUpdate(Log model);
        bool Add(DateTime time, string IP, string userid, int operation, string remark);
    }
}
